/*************************************************************************
> File Name: fun.cpp
> Author: hzy
> Created Time: 2023-08-19 14:12:23
> Description:
************************************************************************/
#include <iostream>

using namespace std;

class Print
{
public:
    Print &operator()(string str)
    {
        cout << str << " ";
        return *this;
    }
};

void test_01()
{
    Print p;
    p("哒哒哒哒哒");
    p("嘟嘟嘟嘟嘟")("嘎嘎嘎嘎噶")("猪猪猪猪猪");
}

int main()
{
    test_01();

    return 0;
}